package sctu.edu.java.year2016.team01.lishuai.day20160606.chapter11_1;

/**
 * Created by 李大帅 on 2016/6/6.
 */
public class Student {

    public void speak(int m) throws Exception
    {
        if(m>1000)
        {
            throw new MyException("参数过大，请重新输入！");
        }

    }
}

